@layout("/common/_form.html",{js:["/assets/modular/column/contentCategory/contentCategory_edit.js"]}){

<form class="layui-form" id="contentCategoryForm" lay-filter="contentCategoryForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="id" type="hidden"/>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">分类名称<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="assortName" name="assortName" placeholder="" type="text"  lay-verify="required" class="layui-input" />
                        </div>
                    </div>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">分类图标<span style="color: red;">*</span></label>
                        <div class="layui-upload">
                            <button type="button" class="layui-btn" id="urlImg">上传图片</button>
                            <div class="layui-upload-list">
                                <img class="layui-upload-img" id="filePreview">
                                <input type="hidden" name="urlImg" lay-verify="urlImginp" id="urlImginp">
                            </div>
                        </div>
                    </div>

                    <div class="layui-inline layui-col-md12">
                        <div class="layui-form-item">
                            <label class="layui-form-label">状态</label>
                            <div class="layui-input-block">
                                <input type="radio" name="status" value="1" title="启用" checked>
                                <input type="radio" name="status" value="0" title="禁用">
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <div class="layui-form-item">
                            <label class="layui-form-label">关联类型</label>
                            <div class="layui-input-block">
                                <select name="associationType" lay-filter="associationType" lay-verify="required">
                                    <option value=""></option>
                                    <option value="1">就业信息</option>
                                    <option value="2">文章</option>
                                </select>
                            </div>
                        </div>
                    </div>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">板块</label>
                        <div class="layui-input-block">
                            <input id="plateCode" name="plateCode" placeholder="" class="layui-input" />
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">排序</label>
                        <div class="layui-input-block">
                            <input id="sort" name="sort" placeholder="" lay-verify="number" type="number" class="layui-input" />
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn layui-btn-sm" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-sm layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}